from ultralytics import YOLO

if __name__ == "__main__":
    # Load a model
    model = YOLO("../tools/run/train/yolo11/weights/best.pt")

    # Run inference on 'bus.jpg' with arguments
    results = model.predict("D:/CodePath/ultralytics-8.3.78/ultralytics/assets/000032.jpg", conf=0.25)
    # results = model("D:/CodePath/ultralytics-8.3.78/ultralytics/assets/zidane.jpg", conf=0.25)
    results[0].show()